<template>
<h3>我是单文件组件</h3>
</template>

<script>
export default{
    name:"MyComponent"
}
</script>

<!--scoped代表当前组件被修改了css样式-->
<style scoped>

h3{
    color: red;
}
</style>